package org.nobody.mallb2c.mallproduct.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 3489309323@qq.com
 * @create 2020-09-15-20:15
 */
@ConfigurationProperties(prefix = "mall.thread")
@Component
@Data
public class ThreadPoolConfigProperties {
  private Integer coreSize;
  private Integer maxSize;
  private Integer keepAliveTime;
}
